//
//  InsuranceDetailInfoViewController.h
//  CPICApp
//
//  Created by sinosoft on 13-3-19.
//  Copyright (c) 2013年 lizhiwei. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SinaWeibo.h"
#import "SinaWeiboRequest.h"
#import <TencentOpenAPI/TencentOAuth.h>
#import "ASIHTTPRequest.h"
#import "MBProgressHUD.h"

@interface InsuranceDetailInfoViewController : UIViewController<SinaWeiboDelegate, SinaWeiboRequestDelegate,TencentSessionDelegate,UIScrollViewDelegate>
{
    NSInteger contentType;//内容类型
    UIImageView *imageContent;
    UITextView *txwContent;
    
    BOOL showProgress;
    MBProgressHUD* progress;
    UIImage *imageDown;
    BOOL isImage;
    BOOL isContent;
    NSString  *ImgUrl;
    NSString *strInsuranceTitle;
    
    float imageWidth;
    float imageHeght;
    UIScrollView *imageScrollView;
    
    BOOL bindingQQ;//YES 表示已经绑定的了,NO表示还没绑定
    
    //sinaweibo
    NSDictionary *userInfo;
    NSArray *statuses;
    NSString *postStatusText;
    NSString *postImageStatusText;
    //sinaweibo
    
    //qq
    TencentOAuth* _tencentOAuth;
    NSMutableArray* _permissions;
    NSString *QQAccessToken;
    NSString *QQopenId;
    //qq
}

@property(nonatomic,retain)NSString *strInsuranceID;

@end
